﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using Nop.Admin.Models.Common;
using Nop.Core.Domain.Catalog;
using Nop.Core.Domain.Tax;
using Nop.Web.Framework;
using Nop.Web.Framework.Mvc;

namespace Nop.Admin.Models.Orders
{
    public partial class WOrderItemModel : BaseNopEntityModel
    {
        public WOrderItemModel()
        {
            ReturnRequestIds = new List<int>();
            PurchasedGiftCardIds = new List<int>();
        }
        [NopResourceDisplayName("Admin.WOrders.Fields.OrderId")]
        public int OrderId { get; set; }
        public int ProductId { get; set; }
        public int VendorId { get; set; }
        [NopResourceDisplayName("Admin.WOrders.Fields.ProductName")]
        public string ProductName { get; set; }
        [NopResourceDisplayName("Admin.WOrders.Fields.VendorName")]
        public string VendorName { get; set; }
        public string Sku { get; set; }
        [NopResourceDisplayName("Admin.WOrders.Fields.UnitPriceInclTax")]
        public string UnitPriceInclTax { get; set; }
        [NopResourceDisplayName("Admin.WOrders.Fields.UnitPriceExclTax")]
        public string UnitPriceExclTax { get; set; }
        [NopResourceDisplayName("Admin.WOrders.Fields.UnitPriceInclTaxValue")]
        public decimal UnitPriceInclTaxValue { get; set; }
        [NopResourceDisplayName("Admin.WOrders.Fields.UnitPriceExclTaxValue")]
        public decimal UnitPriceExclTaxValue { get; set; }
        [NopResourceDisplayName("Admin.WOrders.Fields.Quantity")]
        public int Quantity { get; set; }

        public string DiscountInclTax { get; set; }
        public string DiscountExclTax { get; set; }
        public decimal DiscountInclTaxValue { get; set; }
        public decimal DiscountExclTaxValue { get; set; }

        public string SubTotalInclTax { get; set; }
        public string SubTotalExclTax { get; set; }
        [NopResourceDisplayName("Admin.WOrders.Fields.SubTotalInclTaxValue")]
        public decimal SubTotalInclTaxValue { get; set; }
        [NopResourceDisplayName("Admin.WOrders.Fields.SubTotalExclTaxValue")]
        public decimal SubTotalExclTaxValue { get; set; }

        public string AttributeInfo { get; set; }
        public string RecurringInfo { get; set; }
        public string RentalInfo { get; set; }
        public IList<int> ReturnRequestIds { get; set; }
        public IList<int> PurchasedGiftCardIds { get; set; }

        public bool IsDownload { get; set; }
        public int DownloadCount { get; set; }
        public DownloadActivationType DownloadActivationType { get; set; }
        public bool IsDownloadActivated { get; set; }
        public Guid LicenseDownloadGuid { get; set; }
    }
}